[#-- 创建用户评论列表自定义宏。参数说明：par_userCommentPM（用户评论分页实体）--]
[#macro ecs_ud_userMsgs par_userMessagePM]
     [#if (par_userMessagePM.data) ??]
      	[#list par_userMessagePM.data as userMsgs] 
      		<div class="f_l">
      			[#assign bumTime = ((userMsgs.bumTime)! "")]
      			[#assign bumType = ((userMsgs.bumType ? number)! 0)]
      			
      			<b>
	      			[#switch bumType]
	      				[#case 0] 留言： [#break]
	      				[#case 1] 投诉： [#break]
	      				[#case 1] 询问： [#break]
	      				[#case 1] 售后： [#break]
	      				[#case 1] 求购： [#break]
	      			[/#switch]
      			</b><font class="f4">${userMsgs.bumTitle}</font> (${userMsgs.bumTime})
      		</div>
      		<div class="f_r">
				<a href="javascript: user_delUserMsg('${userMsgs.bumId}');" title="删除" class="f6">删除</a>
			</div>
			<div class="msgBottomBorder">
				${userMsgs.bumContent}
				
				[#if (userMsgs.bumAttachurl) ??]
					[#assign filePath = ((var_virtualpath + var_msgFilePath)! "") + userMsgs.bumAttachurl]
					
					<div align="right">
						<a href="${filePath}" title="${(userMsgs.bumAttachname)! '查看上传的文件'}" target="_bank" class="f6">
							查看上传的文件
						</a>
					</div>
				[/#if]
				<br />
				[#if (userMsgs.replyContent) ??]
					[#assign replyTime = ((userMsgs.replyTime)! "")]

	        		<a href="mailto:" class="f6">店主回复</a> (${userMsgs.replyTime})
	        		<br />
	        		${userMsgs.replyContent}
	        	[/#if]
			</div>
      	[/#list]	
    [/#if]
[/#macro]